@import org.silkframework.entity.Path
@import org.silkframework.entity.Entity
@import org.silkframework.dataset.Dataset
@import plugins.Context

@(context: plugins.Context[Dataset], paths: IndexedSeq[Path], entities: Seq[Entity])(implicit session: play.api.mvc.Session)

@header = {
}

@toolbar = {
}

@content = {
<table>
  <tr>
    @for(path <- paths) {
      <th>@path.toString<th>
    }
  </tr>

  @for(entity <- entities) {
    <tr>
      @for(i <- 0 until paths.size) {
        <td>@entity.evaluate(i)<td>
      }
    </tr>
  }
</table>
}

@main(Some(context))(header)(toolbar)(content)